package com.ruoyi.system.domain.dto;

public class WebSocketConnectDTO {
    private Long clubId;
    private Long userId;
    private String nickname;
    private String avatar;

    // 构造方法
    public WebSocketConnectDTO() {}

    public WebSocketConnectDTO(Long clubId, Integer Long, String nickname, String avatar) {
        this.clubId = clubId;
        this.userId = userId;
        this.nickname = nickname;
        this.avatar = avatar;
    }

    // Getter 和 Setter
    public Long getClubId() {
        return clubId;
    }

    public void setClubId(Long clubId) {
        this.clubId = clubId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    // 可选：toString() 方法
    @Override
    public String toString() {
        return "WebSocketConnectParam{" +
                "clubId=" + clubId +
                ", userId=" + userId +
                ", nickname='" + nickname + '\'' +
                ", avatar='" + avatar + '\'' +
                '}';
    }
}
